package com.gmu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 教师信息
 * </p>
 *
 * @author testjava
 * @since 2022-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TblTeacher对象", description="教师信息")
public class TblTeacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学工号")
    @TableId(value = "teacher_id", type = IdType.AUTO)
    private Integer teacherId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String telephone;

    @ApiModelProperty(value = "身份证号")
    private String idNumber;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "学校")
    private String school;

    @ApiModelProperty(value = "学院")
    private String academy;

    @ApiModelProperty(value = "专业")
    private String major;

    @ApiModelProperty(value = "部门")
    private String department;

    @ApiModelProperty(value = "单位id")
    private Integer unitsId;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "住址")
    private String address;

    @ApiModelProperty(value = "志愿者标志-1是-0否")
    private Integer volunteer;

    @ApiModelProperty(value = "是否密接-1是-0否")
    private Integer contiguity;

    @ApiModelProperty(value = "是否感染-1是-0否")
    private Integer infect;

    @ApiModelProperty(value = "是否隔离-1是-0否")
    private Integer isolation;

    @ApiModelProperty(value = "状态-1可用-0禁用")
    private Integer status;

    @ApiModelProperty(value = "是否出现发热、咽痛等症状（1=是，0=否）")
    private Integer symptom;

    @ApiModelProperty(value = "风险地区旅居史（3=高风险，2=中风险，1=低风险，0=无）")
    private Integer riskArea;

    @ApiModelProperty(value = "是否接触过病例（1=是，0=否）")
    private Integer iscontact;

    @ApiModelProperty(value = "行动便利与否（1=是，0=否）")
    private Integer isconvenient;

    @ApiModelProperty(value = "删除标志-1删除-0存在")
    private Integer delFlag;

    @ApiModelProperty(value = "老师工号")
//    @TableId(value = "teacher_number")
    private String teacherNumber;



}
